cmake_minimum_required(VERSION 3.10)

# 项目名称
project(BenchLogger)

# 设置C++标准
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)

# 将所有的源文件添加到变量中
set(SOURCES
    logger.cc
    # readAndWriteTest.cc
    bench.h
)

# 包含头文件目录
include_directories(${PROJECT_SOURCE_DIR})

# 添加可执行文件
add_executable(BenchLogger ${SOURCES})
